package com.byzk.p2p.admin.bank.dao;

import java.util.List;

import com.byzk.p2p.admin.bank.dto.Bank;
import com.byzk.p2p.admin.bank.dto.BankCard;
import com.byzk.p2p.admin.bank.vo.BankCardVo;

public interface BankCardDao {

	public BankCard getById(int id);

	public Integer update(BankCard bankCard);
	
	public Integer insert(BankCard bankCard);

	public Integer count(BankCardVo vo);
	
	public List<BankCardVo> listByPage(BankCardVo vo);

	public Integer delete(int id);
	
	public List<BankCard> listCardByUserId(Integer userId);
	
	public List<Bank> bankList();
	
	public BankCard getBackByCardNo(String pBkAccNo);
	
	public Bank getBackByCode(String code);
	
	public Integer deleteByUserId(Integer userId);
}
